package com.cd2cd.dom.page;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class WebTableConfig {

    private String name;

    private String showName;

    private Boolean addControl;

    private Boolean deleteControl;

    private Boolean updateControl;

    private Boolean queryControl;

    private List<WebTableColumn> columns;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public Boolean getAddControl() {
        return addControl;
    }

    public void setAddControl(Boolean addControl) {
        this.addControl = addControl;
    }

    public Boolean getDeleteControl() {
        return deleteControl;
    }

    public void setDeleteControl(Boolean deleteControl) {
        this.deleteControl = deleteControl;
    }

    public Boolean getUpdateControl() {
        return updateControl;
    }

    public void setUpdateControl(Boolean updateControl) {
        this.updateControl = updateControl;
    }

    public Boolean getQueryControl() {
        return queryControl;
    }

    public void setQueryControl(Boolean queryControl) {
        this.queryControl = queryControl;
    }

    public List<WebTableColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<WebTableColumn> columns) {
        this.columns = columns;
    }
}
